package com.itheima.oop.d3_constructor;

public class Test {
    public static void main(String[] args) {
        //如果自己写了有参数的构造器
        //那么无参构造器不会自动生成 需要自己手写
        Teacher t = new Teacher();
        Teacher t1 = new Teacher("汪浩");
    }
}
